<?php
include_once "../inc/common.php";

if(isset($_POST['email']) && !empty($_POST['email']))
{
	// save
	$query = "	SELECT ID FROM ShopUsers WHERE Email = '" . str_replace("'", "", $_GET['email']) . "'";
	$result = $mysqli->query($query);
	if($result->num_rows > 0)
		echo "E-mailadres is al bekend in de database";
	echo "E-mailadres is al bekend in de database";
}
